//package com.wangziyu.facerecognitiongate.di
//
//import com.wangziyu.facerecognitiongate.task.TaskManager
//import dagger.Module
//import dagger.Provides
//import dagger.hilt.InstallIn
//import dagger.hilt.components.SingletonComponent
//import kotlinx.coroutines.CoroutineScope
//import kotlinx.coroutines.Dispatchers
//import kotlinx.coroutines.SupervisorJob
//import javax.inject.Singleton
//
///**
// * @description hilt注入对象
// * @author wzy
// * @date 2025/08/10 02:40:02
// */
//@Module
//@InstallIn(SingletonComponent::class)
//object AppModules {
//    @Provides
//    @Singleton
//    fun provideServiceCoroutineScope(): CoroutineScope {
//        return CoroutineScope(SupervisorJob() + Dispatchers.Default)
//    }
//
//    @Provides
//    @Singleton
//    fun provideTaskManager(scope: CoroutineScope): TaskManager {
//        return TaskManager(scope)
//    }
//}